<?
include_once("/home/gru/public_html_dev/lib/common.php");
include_once("/home/gru/public_html_dev/lib/cDB.php");
include_once("/home/gru/public_html_dev/lib/cDAO.php");


$db= new cDB();
$dao = new cDAO($db->getCon());

function d($s){
	echo $s."<br>";
}

d("대기:".$dao->getCell("SELECT count(id) FROM coupon where mImgS='0'"));
d("진행:".$dao->getCell("SELECT count(id) FROM coupon where mImgS='1'"));

$db->close();
?>